

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;

public class getAutoControlFile {

	public static String getXmlString() {
		String xmlString;
		byte[] strBuffer = null;
		int flen = 0;
		File xmlfile = new File("autoControl/AutoControl.java");
		try {
			InputStream in = new FileInputStream(xmlfile);
			flen = (int) xmlfile.length();
			strBuffer = new byte[flen];
			in.read(strBuffer, 0, flen);
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}
		xmlString = new String(strBuffer); 

		return xmlString;
	}

	public static void main(String args[]) {
		System.out.println(getXmlString());
	}
}
